<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html; UTF-8" pageEncoding="UTF-8" isELIgnored="false" %>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>班级管理系统</title>
    <link rel="stylesheet" href="statics/css/bootstrap3.min.css">
    <script src="./statics/js/jquery-1.8.3.min.js"></script>
    <script src="./statics/js/bootstrap3.min.js"></script>
</head>
<style>
    a:link    {text-decoration: none}
    a:visited {text-decoration: none}
    a:hover   {text-decoration: none}
</style>
<body>
    <ul class="list-group text-center" style="margin-top: 20px">
        <li class="list-group-item"><a href="${pageContext.request.contextPath}/student/findAll" target="content">学生管理</a></li>
        <c:if test="${sessionScope.user.role=='admin'}">
            <li class="list-group-item"><a href="${pageContext.request.contextPath}/tag/findAll" target="content">标签管理</a></li>
            <li class="list-group-item"><a href="${pageContext.request.contextPath}/committee/findAll" target="content">班委管理</a></li>
            <li class="list-group-item"><a href="${pageContext.request.contextPath}/address/findAll" target="content">家庭住址管理</a></li>
            <li class="list-group-item"><a href="${pageContext.request.contextPath}/class/findAll" target="content">班级入学时间管理</a></li>

        </c:if>

    </ul>

</body>
</html>

